package com.golf.client.course.renderer;

import java.awt.Dimension;
import java.awt.Graphics;


/**
 * A renderer that is capable of painting it's parts onto a global canvas.
 * 
 * @author gfloodgate
 */
public interface CanvasRenderer 
{

	
	/**
	 * Provide an opportunity for the implementation to renderer it's parts.
	 * 
	 * @param g The graphics context to render onto.
	 * @param dim The dimensions of the context.
	 */
	void render(final Graphics g, Dimension dim);
	
}
